<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:choose>
	<c:when test="${userId==null }">
		你好,欢迎光临品质365商城！<a href="http://www.pinzhi365.com/login.do?toUrl=http://flight.pinzhi365.com/front/flight/index.jsp" id="site-login">登录</a>
		<span>|</span>
		<a href="http://www.pinzhi365.com/register.do?toUrl=http://flight.pinzhi365.com/front/flight/index.jsp" id="site-regist">注册</a>
	</c:when>
	<c:otherwise>
		您好${userId },欢迎光临品质365商城！<span>|</span>
		<a href="http://www.pinzhi365.com/loginOut.do?toUrl=http://flight.pinzhi365.com/front/flight/index.jsp" id="site-login" onclick="out()">退出</a>
		<script type="text/javascript">
			function out() {
				_czc.push([ "_deleteCustomVar", "是否登录" ]);
				_czc.push([ "_deleteCustomVar", "会员级别" ]);
			}
		</script>
	</c:otherwise>
</c:choose>